package pattern.decorator.decorator;

// 鸡蛋配料
public class Hum extends Ingredients {
    public Hum() {

    }
    public Hum(FriedRice friedRice) {
        super(friedRice);
    }
    String getDesc() {
        return super.getDesc() + "+火腿";
    }
    Integer getPrice() {
        return super.getPrice() + 3;
    }
}
